package com.tx.springboot_demo.dao;

import com.tx.springboot_demo.domain.Book;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface IBookDao {
    void addBook(Book book);

    void deleteBook(Book book);

    void updateBook(Book book);

    List<Book> findBooks();
}
